package hfjava;

public class NumAndNum {
    public void num(int num1,int num2){
        System.out.println("和为："+(num1+num2));
    }
    public void num(int num1,int num2,int num3){
        System.out.println("和为："+(num1+num2+num3));
    }
    public void num(double num1,double num2){
        System.out.println("和为："+(num1+num2));
    }
}
